package com.lujieni.provider;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@MapperScan("com.lujieni.**.dao")
/*启动feign客户端,扫描com包下的所有feign接口并生成动态代理类*/
@EnableFeignClients(basePackages = "com.lujieni.proxy.*")
public class CloudProvider {

    public static void main(String[] args) {
        SpringApplication.run(CloudProvider.class, args);
    }

}
